package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 病情诊断对象 Diagnosed
 *
 * @author ruoyi
 * @date 2023-07-04
 */


@TableName("Diagnosed")
@ApiModel(value = "Diagnosed对象", description = "病情诊断")
public class Diagnosed implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Excel(name = "id")
    @ApiModelProperty("id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Long Id;

    /**
     * 病历id
     */
    @Excel(name = "病历id")
    @ApiModelProperty("病历id")
    @TableField("MedicalId")
    private Long MedicalId;

    /**
     * 疾病id
     */
    @Excel(name = "疾病id")
    @ApiModelProperty("疾病id")
    @TableField("DiseaseId")
    private Long DiseaseId;

    @JsonProperty("Id")
    public Long getId() {
        return Id;
    }

    public void setId(Long Id) {
        this.Id = Id;
    }

    @JsonProperty("MedicalId")
    public Long getMedicalId() {
        return MedicalId;
    }

    public void setMedicalId(Long MedicalId) {
        this.MedicalId = MedicalId;
    }

    @JsonProperty("DiseaseId")
    public Long getDiseaseId() {
        return DiseaseId;
    }

    public void setDiseaseId(Long DiseaseId) {
        this.DiseaseId = DiseaseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Id", getId())
                .append("MedicalId", getMedicalId())
                .append("DiseaseId", getDiseaseId())
                .toString();
    }
}

